[INFO] fetching crate joycon-rs 0.6.3...
[INFO] fixing joycon-rs-0.6.3 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate joycon-rs 0.6.3 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate joycon-rs 0.6.3
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate joycon-rs 0.6.3
[INFO] tweaked toml for crates.io crate joycon-rs 0.6.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate joycon-rs 0.6.3 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate joycon-rs 0.6.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7b6cbcdc759961229fcf069d33c6fff1414dd44520a878ae36b8eeb5cef1d92b
[INFO] running `Command { std: "docker" "start" "7b6cbcdc759961229fcf069d33c6fff1414dd44520a878ae36b8eeb5cef1d92b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7b6cbcdc759961229fcf069d33c6fff1414dd44520a878ae36b8eeb5cef1d92b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b6cbcdc759961229fcf069d33c6fff1414dd44520a878ae36b8eeb5cef1d92b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7b6cbcdc759961229fcf069d33c6fff1414dd44520a878ae36b8eeb5cef1d92b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling pkg-config v0.3.22
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling libc v0.2.109
[INFO] [stderr]    Compiling hidapi v1.3.0
[INFO] [stderr]     Checking joycon-rs v0.6.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/home_light.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/standard_full_report.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/player_lights.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/rumble.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/simple_hid_report.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/scan_for_joycons.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.37s
[INFO] [stderr] crater-edition-check: joycon-rs v0.6.3 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking joycon-rs v0.6.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `DebugHidDevice` is never constructed
[INFO] [stdout]   --> src/joycon/mod.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct DebugHidDevice<'a>(&'a HidDevice);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/joycon/driver/simple_joycon_driver.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn joycon(&self) -> MutexGuard<JoyConDevice> {
[INFO] [stdout]    |                   ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn joycon(&self) -> MutexGuard<'_, JoyConDevice> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/joycon/manager.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |             match SINGLETON.clone() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DebugHidDevice` is never constructed
[INFO] [stdout]   --> src/joycon/mod.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct DebugHidDevice<'a>(&'a HidDevice);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/joycon/driver/simple_joycon_driver.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn joycon(&self) -> MutexGuard<JoyConDevice> {
[INFO] [stdout]    |                   ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn joycon(&self) -> MutexGuard<'_, JoyConDevice> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/joycon/manager.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |             match SINGLETON.clone() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.30s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking joycon-rs v0.6.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/joycon/mod.rs (1 fix)
[INFO] [stderr]        Fixed src/joycon/manager.rs (2 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/joycon/manager.rs:84:43
[INFO] [stdout]      |
[INFO] [stdout]   84 |                 while let Some(manager) = manager.upgrade() {
[INFO] [stdout]      |                                -------    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |                                |          |
[INFO] [stdout]      |                                |          this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]      |                                |          up until Edition 2021 `#5` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]      |                                `manager` calls a custom destructor
[INFO] [stdout]      |                                `manager` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]   87 |                         let mut manager = match manager.lock() {
[INFO] [stdout]      |                             -----------         --------------
[INFO] [stdout]      |                             |                   |
[INFO] [stdout]      |                             |                   this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      |                             |                   `#2` will be dropped later as of Edition 2024
[INFO] [stdout]      |                             this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |                             `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]   93 |                         if let Ok(new_devices) = manager.scan() {
[INFO] [stdout]      |                                                  --------------
[INFO] [stdout]      |                                                  |
[INFO] [stdout]      |                                                  this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]      |                                                  `#3` will be dropped later as of Edition 2024
[INFO] [stdout]   94 |                             // If mpsc channel is disconnected, end this thread.
[INFO] [stdout]   95 |                             let send_result = new_devices.into_iter()
[INFO] [stdout]      |                                 -----------   -----------------------
[INFO] [stdout]      |                                 |             |
[INFO] [stdout]      |                                 |             this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]      |                                 |             `#4` will be dropped later as of Edition 2024
[INFO] [stdout]      |                                 `send_result` calls a custom destructor
[INFO] [stdout]      |                                 `send_result` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  109 |                 }
[INFO] [stdout]      |                 - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-channel-0.5.1/src/channel.rs:1133:1
[INFO] [stdout]      |
[INFO] [stdout] 1133 | impl<T> Drop for Receiver<T> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/lifecycle.rs:171:0
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/thread/unix.rs:140:0
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:85:1
[INFO] [stdout]      |
[INFO] [stdout]   85 | impl Drop for HidApiLock {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:502:1
[INFO] [stdout]      |
[INFO] [stdout]  502 | impl Drop for HidDevice {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `manager` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-channel-0.5.1/src/channel.rs:1133:1
[INFO] [stdout]      |
[INFO] [stdout] 1133 | impl<T> Drop for Receiver<T> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `manager` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/lifecycle.rs:171:0
[INFO] [stdout] note: `manager` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/thread/unix.rs:140:0
[INFO] [stdout] note: `manager` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:85:1
[INFO] [stdout]      |
[INFO] [stdout]   85 | impl Drop for HidApiLock {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `manager` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:502:1
[INFO] [stdout]      |
[INFO] [stdout]  502 | impl Drop for HidDevice {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout]      = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:502:1
[INFO] [stdout]      |
[INFO] [stdout]  502 | impl Drop for HidDevice {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `send_result` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:502:1
[INFO] [stdout]      |
[INFO] [stdout]  502 | impl Drop for HidDevice {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:502:1
[INFO] [stdout]      |
[INFO] [stdout]  502 | impl Drop for HidDevice {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/joycon/manager.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |             match SINGLETON.clone() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/standard_full_report.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]     --> src/joycon/manager.rs:84:43
[INFO] [stdout]      |
[INFO] [stdout]   84 |                 while let Some(manager) = manager.upgrade() {
[INFO] [stdout]      |                                -------    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |                                |          |
[INFO] [stdout]      |                                |          this value will be stored in a temporary; let us call it `#5`
[INFO] [stdout]      |                                |          up until Edition 2021 `#5` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]      |                                `manager` calls a custom destructor
[INFO] [stdout]      |                                `manager` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]   87 |                         let mut manager = match manager.lock() {
[INFO] [stdout]      |                             -----------         --------------
[INFO] [stdout]      |                             |                   |
[INFO] [stdout]      |                             |                   this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]      |                             |                   `#2` will be dropped later as of Edition 2024
[INFO] [stdout]      |                             this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]      |                             `#1` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]   93 |                         if let Ok(new_devices) = manager.scan() {
[INFO] [stdout]      |                                                  --------------
[INFO] [stdout]      |                                                  |
[INFO] [stdout]      |                                                  this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]      |                                                  `#3` will be dropped later as of Edition 2024
[INFO] [stdout]   94 |                             // If mpsc channel is disconnected, end this thread.
[INFO] [stdout]   95 |                             let send_result = new_devices.into_iter()
[INFO] [stdout]      |                                 -----------   -----------------------
[INFO] [stdout]      |                                 |             |
[INFO] [stdout]      |                                 |             this value will be stored in a temporary; let us call it `#4`
[INFO] [stdout]      |                                 |             `#4` will be dropped later as of Edition 2024
[INFO] [stdout]      |                                 `send_result` calls a custom destructor
[INFO] [stdout]      |                                 `send_result` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout]  109 |                 }
[INFO] [stdout]      |                 - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]      |
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-channel-0.5.1/src/channel.rs:1133:1
[INFO] [stdout]      |
[INFO] [stdout] 1133 | impl<T> Drop for Receiver<T> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/lifecycle.rs:171:0
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/thread/unix.rs:140:0
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:85:1
[INFO] [stdout]      |
[INFO] [stdout]   85 | impl Drop for HidApiLock {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#5` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:502:1
[INFO] [stdout]      |
[INFO] [stdout]  502 | impl Drop for HidDevice {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `manager` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/crossbeam-channel-0.5.1/src/channel.rs:1133:1
[INFO] [stdout]      |
[INFO] [stdout] 1133 | impl<T> Drop for Receiver<T> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `manager` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/thread/lifecycle.rs:171:0
[INFO] [stdout] note: `manager` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sys/thread/unix.rs:140:0
[INFO] [stdout] note: `manager` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:85:1
[INFO] [stdout]      |
[INFO] [stdout]   85 | impl Drop for HidApiLock {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `manager` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:502:1
[INFO] [stdout]      |
[INFO] [stdout]  502 | impl Drop for HidDevice {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout] note: `#2` invokes this custom destructor
[INFO] [stdout]     --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/std/src/sync/poison/mutex.rs:741:0
[INFO] [stdout]      = note: `#3` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#3` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:502:1
[INFO] [stdout]      |
[INFO] [stdout]  502 | impl Drop for HidDevice {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `send_result` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:502:1
[INFO] [stdout]      |
[INFO] [stdout]  502 | impl Drop for HidDevice {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `#4` invokes this custom destructor
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hidapi-1.3.0/src/lib.rs:502:1
[INFO] [stdout]      |
[INFO] [stdout]  502 | impl Drop for HidDevice {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]      = warning: this changes meaning in Rust 2024
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]      = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/joycon/manager.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |             match SINGLETON.clone() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/home_light.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> examples/standard_full_report.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 |         while let Ok(message) = rx.recv() {
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]    |                                 up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 14 |             dbg!(message);
[INFO] [stdout]    |             -------------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |             `#1` will be dropped later as of Edition 2024
[INFO] [stdout] 15 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/player_lights.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating examples/simple_hid_report.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> examples/simple_hid_report.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 |         while let Ok(message) = rx.recv() {
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]    |                                 up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 14 |             dbg!(message);
[INFO] [stdout]    |             -------------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |             `#1` will be dropped later as of Edition 2024
[INFO] [stdout] 15 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/scan_for_joycons.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/main.rs:14:33
[INFO] [stdout]    |
[INFO] [stdout] 14 |         while let Ok(message) = rx.recv() {
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]    |                                 up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 15 |             dbg!(message);
[INFO] [stdout]    |             -------------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |             `#1` will be dropped later as of Edition 2024
[INFO] [stdout] 16 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/rumble.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/main.rs:14:33
[INFO] [stdout]    |
[INFO] [stdout] 14 |         while let Ok(message) = rx.recv() {
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]    |                                 up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 15 |             dbg!(message);
[INFO] [stdout]    |             -------------
[INFO] [stdout]    |             |
[INFO] [stdout]    |             this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |             `#1` will be dropped later as of Edition 2024
[INFO] [stdout] 16 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.25s
[INFO] [stderr] crater-edition-check: joycon-rs v0.6.3 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking joycon-rs v0.6.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `DebugHidDevice` is never constructed
[INFO] [stdout]   --> src/joycon/mod.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct DebugHidDevice<'a>(&'a HidDevice);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/joycon/driver/simple_joycon_driver.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn joycon(&self) -> MutexGuard<JoyConDevice> {
[INFO] [stdout]    |                   ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn joycon(&self) -> MutexGuard<'_, JoyConDevice> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/joycon/manager.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |             match SINGLETON.clone() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DebugHidDevice` is never constructed
[INFO] [stdout]   --> src/joycon/mod.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | struct DebugHidDevice<'a>(&'a HidDevice);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/joycon/driver/simple_joycon_driver.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn joycon(&self) -> MutexGuard<JoyConDevice> {
[INFO] [stdout]    |                   ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn joycon(&self) -> MutexGuard<'_, JoyConDevice> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `joycon-rs` (lib test) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/joycon/manager.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |             match SINGLETON.clone() {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `joycon-rs` (lib) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7b6cbcdc759961229fcf069d33c6fff1414dd44520a878ae36b8eeb5cef1d92b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b6cbcdc759961229fcf069d33c6fff1414dd44520a878ae36b8eeb5cef1d92b", kill_on_drop: false }`
[INFO] [stdout] 7b6cbcdc759961229fcf069d33c6fff1414dd44520a878ae36b8eeb5cef1d92b
